$(function(){
	if(navigator.userAgent.indexOf("Opera") != -1)
		$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'mainOpera.css') );
	else if(navigator.userAgent.indexOf("Firefox") != -1)
		$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'mainFirefox.css') );
});


function ajustarCSS(larguraBrowser) {
   largura = parseInt(larguraBrowser);
    
   if (largura < 701)
	   $("#size-stylesheet").attr("href", "css/narrow.css");
   else if ((largura >= 701) && (largura < 900))
		$("#size-stylesheet").attr("href", "css/medium.css");
   else
      $("#size-stylesheet").attr("href", "css/wide.css"); 
}
